<!DOCTYPE html>
<html ng-app>
<head lang="en">
    <meta charset="UTF-8">
    <title>sample</title>
    <script type="text/javascript" src="../../lib/jquery/1.11.0/jquery.min.js"></script>
    <script type="text/javascript" src="../../lib/angularjs/1.3.0-beta.5/angular.js"></script>
</head>
<body>
<form name="test_fomr" ng-controller="FormController">
    <input type="text" ng-model="a" required ng-pattern="/abc/" /><br/>
    <input type="number" ng-model="b" required /><br/>
    <input type="email" ng-model="c" required /><br/>
    <span ng-click="see()">error:{{ test_form.$error }}</span>
</form>
<script type="text/javascript">
    var FormController = ['$scope', function($scope) {
        $scope.see = function() {
        }
    }];
</script>
</body>
</html>